<?php
$session = new Zend_Session_Namespace('id_persona');    
$id_persona   = $session->id_persona; 

$link_home = $this->url(array('controller'=>'index','action'=>'index', ''), 'admin', TRUE);
$link_gestione = $this->url(array('controller'=>'gestione','action'=>'index', ''), 'gestione', TRUE);
$link_report = $this->url(array('controller'=>'report','action'=>'index', ''), 'report', TRUE);
if ($id_persona){
    $link_persona = '<li style="float:right;"><a href="'.$this->url(array('controller'=>'persona','action'=>'index', 'id'=>$id_persona), 'persona', TRUE).'">Persona corrente</a></li>';
}else{
   $link_persona = ''; 
}
?>
<?= $this->getAdminBar($link_home, $link_gestione,$link_report,$link_persona);?>
<br style="clear:left" />